<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
  <title>loginx</title>

  <script>
    if($.cookie('userNum')!=null)   window.location.replace("userspace.html");
  </script>
<!--  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.0/css/bootstrap.min.css">-->
  <link rel="stylesheet" href="../static/bootstrap-3.4.1/css/bootstrap.min.css">

  <!-- js -->
  <script src="../static/jquery-3.5.1/jquery-3.5.1.min.js"></script>
  <script src="../static/bootstrap-3.4.1/js/bootstrap.min.js"></script>

  <script src="../static/diy/js/login.js"></script>
<!--  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700">-->
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css">
<!--  <link rel="stylesheet" href="assets/css/styles.min.css">-->
  <link rel="stylesheet" href="../static/diy/css/login.css">
<!--  <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>-->
  <!-- 符号 -->
  <link href="https://cdn.bootcdn.net/ajax/libs/font-awesome/5.15.3/css/all.css" rel="stylesheet">
<!--  <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.0/js/bootstrap.bundle.min.js"></script>-->

</head>

<body>
<div class="login-clean">
  <form action="/webdemo2/loginServ" method="POST" onsubmit="return loginCk()"  enctype="application/x-www-form-urlencoded">
    <input type="hidden" name="action" value="loginto">
    <h2 class="sr-only">Login Form</h2>
    <div class="illustration"><i class="fa fa-id-card" aria-hidden="true"></i></div>
    <div class="form-group1 ">

      <input class="form-control" type="text" name="userNum" id="userName"placeholder="学号/工号">
      <span id="helpBlock1" class="help-block" style="display: none;"> <small>用户尚未注册</small></span>
    </div>
    <br>
    <div class="form-group2">
      <input class="form-control" type="password" name="userPwd" placeholder="密码">
      <span id="helpBlock2" class="help-block" style="display: none;"> <small>密码长度为5-15字符</small></span>
    </div>
    <div class="form-group"><button class="btn btn-primary btn-block" type="submit">Log In</button></div><a class="forgot" href="register.html">注册账号</a></form>
</div>

</body>

</html>